package com.example.test.conview.common;

public class PutyConst {
    public static boolean netFlag = true;//true为加载网络机型数据，false为本地机型数据
    /**
     * text控件高度
     */
    public static int textHeight = 0;

    /**
     * 家用系列
     */
    public final static int HOUSEHOLD_SERIES = 0;

    /**
     * 工业系列
     */
    public final static int INDUSTRY_SERIES = 1;

    /**
     * 线号机系列
     */
    public final static int LINE_NUMBER_SERIES = 2;

    /**
     * 系列类型
     */
    public static int SERIES_TYPE = HOUSEHOLD_SERIES;

    //------------ElementType---------------

    /**
     * 文本
     */
    public final static int TEXT = 1;//

    /**
     *  一维码
     */
    public final static int BAR_CODE = 2;

    /**
     * 二维码
     */
    public final static int QR_CODE = 3;

    /**
     * 图片
     */
    public final static int IMAGE = 4;

    /**
     * 表格
     */
    public final static int TABLE = 5;

    /**
     * 线
     */
    public final static int LINE = 6;

    /**
     * 矩形
     */
    public final static int SHAPE = 7;

    /**
     * Logo
     */
    public final static int LOGO = 8;

    /**
     * 日期
     */
    public final static int DATE = 9;

    /**
     * 背景
     */
    public final static int BACKGROUND = 100;

    //---------旋转角度-----------
    /**
     * 旋转角度0
     */
    public final static int RATE_0 = 0;

    /**
     * 旋转角度90
     */
    public final static int RATE_90 = 90;

    /**
     * 旋转角度180
     */
    public final static int RATE_180 = 180;

    /**
     * 旋转角度270
     */
    public final static int RATE_270 = 270;

    /**
     * 缩放变焦边界
     */
    public final static int RATE_BOUNDARY = 50;

    /**
     * 增加边界
     */
    public final static int RATE_INCREASE = 10;

    /**
     * 缩放变焦边界
     */
    public final static int RATE_BOUNDARY_100 = 100;



    //------------------------
    public final static String FONT_USED_NAME = "font_used_name";

    //----------对齐类型---------------
    /**
     * 水平居中
     */
    public final static int ALIGN_HORIZONTAL_CENTERING = 0;

    /**
     * 左对齐
     */
    public final static int ALIGN_LEFT_ALIGN = 1;

    /**
     * 右对齐
     */
    public final static int ALIGN_RIGHT_ALIGN = 2;

    /**
     * 垂直居中
     */
    public final static int ALIGN_VERTICAL_CENTERING = 3;

    /**
     * 上对齐
     */
    public final static int ALIGN_TOP_ALIGNMENT = 4;

    /**
     * 下对齐
     */
    public final static int ALIGN_BOTTOM_ALIGNMENT = 5;

    /**
     * 水平均分
     */
    public final static int ALIGN_HORIZONTAL_EQUIPARTITION = 6;

    /**
     * 垂直均分
     */
    public final static int ALIGN_VERTICAL_EQUIPARTITION = 7;

    /**
     * 往上移动
     */
    public final static int ALIGN_MOVE_UP = 8;

    /**
     * 往下移动
     */
    public final static int ALIGN_MOVE_BOTTOM = 9;

    /**
     * 往左移动
     */
    public final static int ALIGN_MOVE_LEFT = 10;

    /**
     * 往右移动
     */
    public final static int ALIGN_MOVE_RIGHT = 11;

    //------------ActionTouch-------------

    /**
     * 默认类型
     */
    public final static int ACTION_TOUCH_DEFAULT = 0;

    /**
     *  移动
     */
    public final static int ACTION_TOUCH_MOVE = 1;

    /**
     * 缩放
     */
    public final static int ACTION_TOUCH_SCALE = 2;

    /**
     * 双击
     */
    public final static int ACTION_TOUCH_DOUBLE_CLICK = 4;

    /**
     * 删除
     */
    public final static int ACTION_TOUCH_DELETE = 5;
}
